package com.zzyl.mapper;

import com.zzyl.entity.Member;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface MemberMapper {
    @Select("select * from member where open_id = #{openid}")
    Member getByOpenId(String openid);

    void save(Member member);

    void update(Member member);

}
